package com.cheys.webapp.service;

import java.util.List;

import com.cheys.webapp.model.Page;

public interface IService<T> {
	public int save(T[] t) throws Exception;
	public int update(T t) throws Exception;
	public int delete(int[] id) throws Exception;
	public T selectOne(int id) throws Exception;
	public List<T> select(T t,Page p) throws Exception;
	
}
